.message-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    font-size: .28rem;
    color: #fff;
    transform: translateY(100%);
    transition: bottom .3s;
    overflow: hidden;
}

.message-wrap .message {
    display: inline-block;
    width: auto;
    padding: .1rem .2rem;
    max-width: 6rem;
    border-radius: .08rem;
    background: rgba(0, 0, 0, .5);
}

body[show-message=show] .message-wrap {
    bottom: 1.8rem;
    transform: translateY(0);
}